<div class="page">
	<div class="layoutBox">
	
	<form method="post" action="__URL__/insert/navTabId/__MODULE__" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
		<div class="pageFormContent" layoutH="100">

			<div class="unit">
				<label>分类名：</label>
				<input name="classtitle" type="text" class="required" size="40"/>
			</div>			
			<div class="unit">
			<label>所属分类：</label>
            <input name="categoryName" type="text" class="required" id="categoryName_add_2" value="根目录" size="40" readonly="readonly"/>
            <a class="unit btn" href="__APP__/Ui/tree/selparent/1/selmore/0/cid/pid_add_2/cname/categoryName_add_2" target="dialog" rel="tree" mask="true" title="选择分类" width="400" height="450">选择分类</a>
            <input type="hidden" id="pid_add_2" name="classpid" value="0" />
			</div>
			<div class="unit">
				<label>所属模型：</label>
				<SELECT name="classmodule">
					<volist name="classmodule" id="vo">
						<option value="{$key}">{$vo}</option>
					</volist>
				</SELECT>
			</div>
			<div class="unit">
				<label>排序值：</label>
				<input type="text" name="classsort" size="40"/>
			</div>
			<div class="unit">
				<label>状态：</label>
				<select name="classstatus">
					<option value="1">启用</option>
					<option value="0">禁用</option>
				</select>
			</div>
			<div class="unit">
				<label>URL重写值：</label>
				<input type="text" name="classrewrite" size="40"/>
			</div>
		<div class="unit">
			<label>分类模板：</label>
			<input type="text" name="classtemplate" id="classtemplate_add_1" size="30" value=""/>
            <a href="__APP__/Ui/seltpl/tplname/classtemplate_add_1" class="unit btn" target="dialog" rel="btn_tpl" mask="true" title="选择模板" width="600" height="800">选择模板</a>
            <span>格式如：</span>
            <select>
            <option>直接选择模板</option>
            <option>index2.html</option>
            <option>index2.php</option>
            <option>index2</option>
            <option>Public:abc</option>
            </select>
		</div>		
        <div class="unit">
            <label>文章模板：</label>
            <input type="text" name="newstemplate" id="newstemplate_add_1" size="30" value=""/>
            <a href="__APP__/Ui/seltpl/tplname/newstemplate_add_1" class="unit btn" target="dialog" rel="btn_tpl" mask="true" title="选择模板" width="600" height="800">选择模板</a>
            <span>格式如：</span>
            <select>
            <option>直接选择模板</option>
            <option>index2.html</option>
            <option>index2.php</option>
            <option>index2</option>
            <option>Public:abc</option>
            </select>
        </div>					
			<div class="unit">
				<label>关键字：</label>
				<input type="text" name="classkeywords" size="40"/>
			</div>
			<div class="unit">
				<label>描述：</label>
				<textarea name="classdescription" rows="3" cols="50"></textarea>
			</div>
			
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">提交</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>
	</form>
	
	</div>
</div>